package com.company.class4;

import java.util.Scanner;

/**
 * @Classname test
 * @Description 类型说明
 * @Date 2022/4/16 17:54
 * @Created by zbw
 */

public class test {
    public static void main(String[] args) throws InterruptedException {
        Scanner s = new Scanner(System.in);
        System.out.println("请帮小狗取名字：");
        String name = s.next();
        Dog dog = new Dog(name);
        int i = 0;
        //成长三个阶段
        while(i < 3){
            dog.grow_Up();
            dog.dog_State();
            i++;
        }

        Human h = new Human("tom", 18);
        System.out.println(Human.name+h.DEPENDENT_WATER);
        h.love();
        Human.eat_Food();
        Object o;

    }
}
